package appapi.entity.Zhongjiao;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author  djq
 * @date 2023/5/23 10:48
 * @description: 
 */

/**
 * 组织机构
 */
@ApiModel(value = "组织机构")
@Data
public class OrganizationDto {
    /**
     * 组织机构ID
     */
    @ApiModelProperty(value = "组织机构ID")
    private Long orgaId;

    /**
     * 组织机构名称
     */
    @ApiModelProperty(value = "组织机构名称")
    private String orgaName;

    /**
     * 上级机构ID
     */
    @ApiModelProperty(value = "上级机构ID")
    private Integer orgaPid;

    /**
     * 排序值
     */
    @ApiModelProperty(value = "排序值")
    private Integer orgaSort;

    /**
     * 0-启用 1-禁用
     */
    @ApiModelProperty(value = "0-启用 1-禁用")
    private Integer isEnable;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String orgaNote;

    /**
     * 路径
     */
    @ApiModelProperty(value = "路径")
    private String orgaPathIds;

    /**
     * 路径名称
     */
    @ApiModelProperty(value = "路径名称")
    private String orgaPathName;

    /**
     * 组织层级012
     */
    @ApiModelProperty(value = "组织层级012")
    private Integer orgaLevel;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}